[INFO] cloning repository https://github.com/owenpmckenna/BasicLidarSLAM
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/owenpmckenna/BasicLidarSLAM" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fowenpmckenna%2FBasicLidarSLAM", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fowenpmckenna%2FBasicLidarSLAM'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 26832ff30369a4b89f27c7f631c7be90c5e164d6
[INFO] fixing owenpmckenna/BasicLidarSLAM against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fowenpmckenna%2FBasicLidarSLAM" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-2-tc1/source/.cargo/config.toml
[INFO] removed /workspace/builds/worker-2-tc1/source/rust-toolchain.toml
[INFO] started tweaking git repo https://github.com/owenpmckenna/BasicLidarSLAM
[INFO] finished tweaking git repo https://github.com/owenpmckenna/BasicLidarSLAM
[INFO] tweaked toml for git repo https://github.com/owenpmckenna/BasicLidarSLAM written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/owenpmckenna/BasicLidarSLAM on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/owenpmckenna/BasicLidarSLAM already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating git repository `https://github.com/ysimonson/roboclaw-rs.git`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded build_const v0.2.2
[INFO] [stderr]   Downloaded rplidar_drv_rs v0.7.0
[INFO] [stderr]   Downloaded unescaper v0.1.6
[INFO] [stderr]   Downloaded serialport v4.8.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 89316af675aab87a18983976af3e95fbbce54443d475779dd351ab9d94478c22
[INFO] running `Command { std: "docker" "start" "89316af675aab87a18983976af3e95fbbce54443d475779dd351ab9d94478c22", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "89316af675aab87a18983976af3e95fbbce54443d475779dd351ab9d94478c22" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "89316af675aab87a18983976af3e95fbbce54443d475779dd351ab9d94478c22", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "89316af675aab87a18983976af3e95fbbce54443d475779dd351ab9d94478c22" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.175
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking memchr v2.7.5
[INFO] [stderr]     Checking log v0.4.28
[INFO] [stderr]     Checking http v1.3.1
[INFO] [stderr]    Compiling thiserror v2.0.16
[INFO] [stderr]    Compiling libudev-sys v0.1.4
[INFO] [stderr]    Compiling proc-macro2 v1.0.101
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]    Compiling object v0.36.7
[INFO] [stderr]     Checking unicode-ident v1.0.19
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking gimli v0.31.1
[INFO] [stderr]    Compiling build_const v0.2.2
[INFO] [stderr]    Compiling failure_derive v0.1.8
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]     Checking bitflags v2.9.4
[INFO] [stderr]    Compiling crc16 v0.4.0
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking scopeguard v1.2.0
[INFO] [stderr]     Checking serde_path_to_error v0.1.20
[INFO] [stderr]     Checking crossbeam-channel v0.5.15
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]    Compiling crc v1.8.1
[INFO] [stderr]     Checking quote v1.0.40
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]     Checking tower-http v0.6.6
[INFO] [stderr]     Checking http-body-util v0.1.3
[INFO] [stderr]     Checking axum-core v0.5.5
[INFO] [stderr]     Checking socket2 v0.6.1
[INFO] [stderr]     Checking getrandom v0.3.4
[INFO] [stderr]     Checking mio v1.1.0
[INFO] [stderr]     Checking nix v0.26.4
[INFO] [stderr]     Checking libudev v0.3.0
[INFO] [stderr]    Compiling synstructure v0.12.6
[INFO] [stderr]     Checking rand_core v0.9.3
[INFO] [stderr]     Checking addr2line v0.24.2
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking rand v0.9.2
[INFO] [stderr]    Compiling thiserror-impl v2.0.16
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]     Checking tokio v1.48.0
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking tungstenite v0.28.0
[INFO] [stderr]     Checking unescaper v0.1.6
[INFO] [stderr]     Checking serialport v4.8.1
[INFO] [stderr]     Checking backtrace v0.3.75
[INFO] [stderr]     Checking roboclaw v0.1.0 (https://github.com/ysimonson/roboclaw-rs.git?branch=serialport#094159b6)
[INFO] [stderr]     Checking failure v0.1.8
[INFO] [stderr]     Checking rplidar_drv_rs v0.7.0
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking hyper v1.7.0
[INFO] [stderr]     Checking tokio-tungstenite v0.28.0
[INFO] [stderr]     Checking tower v0.5.2
[INFO] [stderr]     Checking hyper-util v0.1.17
[INFO] [stderr]     Checking axum v0.8.6
[INFO] [stderr]     Checking BasicLidarSLAM v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::simd::usizex1`
[INFO] [stdout]  --> src/LidarLocalizer.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::simd::usizex1;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::simd::usizex1`
[INFO] [stdout]  --> src/LidarLocalizer.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::simd::usizex1;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `swap` found for mutable reference `&mut LidarLocalizer::LidarLocalizer` in the current scope
[INFO] [stdout]    --> src/LidarLocalizer.rs:259:30
[INFO] [stdout]     |
[INFO] [stdout] 259 |                         self.swap(x, y);
[INFO] [stdout]     |                              ^^^^ method not found in `&mut LidarLocalizer::LidarLocalizer`
[INFO] [stdout]     |
[INFO] [stdout] help: one of the expressions' fields has a method of the same name
[INFO] [stdout]     |
[INFO] [stdout] 259 |                         self.lines.swap(x, y);
[INFO] [stdout]     |                              ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/Lidar.rs:26:13
[INFO] [stdout]    |
[INFO] [stdout] 26 |         let mut serial_port = serialport::new("/dev/ttyUSB0", 115200)
[INFO] [stdout]    |             ----^^^^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/Drivetrain.rs:22:13
[INFO] [stdout]    |
[INFO] [stdout] 22 |         let mut rc = Roboclaw::new(serial_port);
[INFO] [stdout]    |             ----^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/Drivetrain.rs:30:13
[INFO] [stdout]    |
[INFO] [stdout] 30 |         let mut rc_2 = Roboclaw::new(serial_port_2);
[INFO] [stdout]    |             ----^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `swap` found for mutable reference `&mut LidarLocalizer::LidarLocalizer` in the current scope
[INFO] [stdout]    --> src/LidarLocalizer.rs:259:30
[INFO] [stdout]     |
[INFO] [stdout] 259 |                         self.swap(x, y);
[INFO] [stdout]     |                              ^^^^ method not found in `&mut LidarLocalizer::LidarLocalizer`
[INFO] [stdout]     |
[INFO] [stdout] help: one of the expressions' fields has a method of the same name
[INFO] [stdout]     |
[INFO] [stdout] 259 |                         self.lines.swap(x, y);
[INFO] [stdout]     |                              ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/Lidar.rs:26:13
[INFO] [stdout]    |
[INFO] [stdout] 26 |         let mut serial_port = serialport::new("/dev/ttyUSB0", 115200)
[INFO] [stdout]    |             ----^^^^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/Drivetrain.rs:22:13
[INFO] [stdout]    |
[INFO] [stdout] 22 |         let mut rc = Roboclaw::new(serial_port);
[INFO] [stdout]    |             ----^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/Drivetrain.rs:30:13
[INFO] [stdout]    |
[INFO] [stdout] 30 |         let mut rc_2 = Roboclaw::new(serial_port_2);
[INFO] [stdout]    |             ----^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pos`
[INFO] [stdout]    --> src/LidarLocalizer.rs:166:29
[INFO] [stdout]     |
[INFO] [stdout] 166 |                 .for_each(|(pos, item)| it.lines.push(item.into_line()));
[INFO] [stdout]     |                             ^^^ help: if this is intentional, prefix it with an underscore: `_pos`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]    --> src/LidarLocalizer.rs:165:30
[INFO] [stdout]     |
[INFO] [stdout] 165 |                 .filter(|(x, y)| unfound.iter().find(|it| **it == *x).is_some())
[INFO] [stdout]     |                              ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dist`
[INFO] [stdout]    --> src/LidarLocalizer.rs:142:47
[INFO] [stdout]     |
[INFO] [stdout] 142 |             for (norm_index, (new_line_index, dist)) in best_detections.into_iter().enumerate() {
[INFO] [stdout]     |                                               ^^^^ help: if this is intentional, prefix it with an underscore: `_dist`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]    --> src/LidarLocalizer.rs:146:26
[INFO] [stdout]     |
[INFO] [stdout] 146 |                     Some(id) => {
[INFO] [stdout]     |                          ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `max_dist`
[INFO] [stdout]    --> src/LidarLocalizer.rs:449:24
[INFO] [stdout]     |
[INFO] [stdout] 449 |         let (avg_dist, max_dist) = average_max_dist_to_line(p[0], slope, &p);
[INFO] [stdout]     |                        ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_dist`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `new_slope`
[INFO] [stdout]    --> src/LidarLocalizer.rs:479:13
[INFO] [stdout]     |
[INFO] [stdout] 479 | ...   let new_slope = (if left {slope(*p, far_point)} else {slope(far_point, *p)}).atan();//what slope will be if we accept in radians
[INFO] [stdout]     |           ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_slope`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pos`
[INFO] [stdout]    --> src/LidarLocalizer.rs:166:29
[INFO] [stdout]     |
[INFO] [stdout] 166 |                 .for_each(|(pos, item)| it.lines.push(item.into_line()));
[INFO] [stdout]     |                             ^^^ help: if this is intentional, prefix it with an underscore: `_pos`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]    --> src/LidarLocalizer.rs:165:30
[INFO] [stdout]     |
[INFO] [stdout] 165 |                 .filter(|(x, y)| unfound.iter().find(|it| **it == *x).is_some())
[INFO] [stdout]     |                              ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dist`
[INFO] [stdout]    --> src/LidarLocalizer.rs:142:47
[INFO] [stdout]     |
[INFO] [stdout] 142 |             for (norm_index, (new_line_index, dist)) in best_detections.into_iter().enumerate() {
[INFO] [stdout]     |                                               ^^^^ help: if this is intentional, prefix it with an underscore: `_dist`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]    --> src/LidarLocalizer.rs:146:26
[INFO] [stdout]     |
[INFO] [stdout] 146 |                     Some(id) => {
[INFO] [stdout]     |                          ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `time0`
[INFO] [stdout]    --> src/LidarLocalizer.rs:546:13
[INFO] [stdout]     |
[INFO] [stdout] 546 |         let time0 = Instant::now();
[INFO] [stdout]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_time0`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `count`
[INFO] [stdout]    --> src/LidarLocalizer.rs:584:13
[INFO] [stdout]     |
[INFO] [stdout] 584 |         let count = lines.iter().filter(|x| x.points[0] == x.points[1]).count();
[INFO] [stdout]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_count`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `len`
[INFO] [stdout]    --> src/LidarLocalizer.rs:591:13
[INFO] [stdout]     |
[INFO] [stdout] 591 |         let len = lines.len();
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_len`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `count`
[INFO] [stdout]    --> src/LidarLocalizer.rs:593:13
[INFO] [stdout]     |
[INFO] [stdout] 593 |         let count = lines.iter().filter(|x| x.points[0] == x.points[1]).count();
[INFO] [stdout]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_count`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:88:17
[INFO] [stdout]    |
[INFO] [stdout] 88 |             let mut old_lines = localizer.process(ill);
[INFO] [stdout]    |                 ----^^^^^^^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `time`
[INFO] [stdout]   --> src/main.rs:51:17
[INFO] [stdout]    |
[INFO] [stdout] 51 |             let time = last_grab_time.elapsed();
[INFO] [stdout]    |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/main.rs:62:9
[INFO] [stdout]    |
[INFO] [stdout] 62 |     for i in 0..3 {
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t2`
[INFO] [stdout]   --> src/main.rs:78:9
[INFO] [stdout]    |
[INFO] [stdout] 78 |     let t2 = thread::spawn(move || {
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_t2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `max_dist`
[INFO] [stdout]    --> src/LidarLocalizer.rs:449:24
[INFO] [stdout]     |
[INFO] [stdout] 449 |         let (avg_dist, max_dist) = average_max_dist_to_line(p[0], slope, &p);
[INFO] [stdout]     |                        ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_dist`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `new_slope`
[INFO] [stdout]    --> src/LidarLocalizer.rs:479:13
[INFO] [stdout]     |
[INFO] [stdout] 479 | ...   let new_slope = (if left {slope(*p, far_point)} else {slope(far_point, *p)}).atan();//what slope will be if we accept in radians
[INFO] [stdout]     |           ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_slope`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `time0`
[INFO] [stdout]    --> src/LidarLocalizer.rs:546:13
[INFO] [stdout]     |
[INFO] [stdout] 546 |         let time0 = Instant::now();
[INFO] [stdout]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_time0`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `count`
[INFO] [stdout]    --> src/LidarLocalizer.rs:584:13
[INFO] [stdout]     |
[INFO] [stdout] 584 |         let count = lines.iter().filter(|x| x.points[0] == x.points[1]).count();
[INFO] [stdout]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_count`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `len`
[INFO] [stdout]    --> src/LidarLocalizer.rs:591:13
[INFO] [stdout]     |
[INFO] [stdout] 591 |         let len = lines.len();
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_len`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `count`
[INFO] [stdout]    --> src/LidarLocalizer.rs:593:13
[INFO] [stdout]     |
[INFO] [stdout] 593 |         let count = lines.iter().filter(|x| x.points[0] == x.points[1]).count();
[INFO] [stdout]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_count`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `BasicLidarSLAM` (bin "BasicLidarSLAM" test) due to 1 previous error; 18 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:88:17
[INFO] [stdout]    |
[INFO] [stdout] 88 |             let mut old_lines = localizer.process(ill);
[INFO] [stdout]    |                 ----^^^^^^^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `time`
[INFO] [stdout]   --> src/main.rs:51:17
[INFO] [stdout]    |
[INFO] [stdout] 51 |             let time = last_grab_time.elapsed();
[INFO] [stdout]    |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/main.rs:62:9
[INFO] [stdout]    |
[INFO] [stdout] 62 |     for i in 0..3 {
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t2`
[INFO] [stdout]   --> src/main.rs:78:9
[INFO] [stdout]    |
[INFO] [stdout] 78 |     let t2 = thread::spawn(move || {
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_t2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `BasicLidarSLAM` (bin "BasicLidarSLAM") due to 1 previous error; 18 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "89316af675aab87a18983976af3e95fbbce54443d475779dd351ab9d94478c22", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "89316af675aab87a18983976af3e95fbbce54443d475779dd351ab9d94478c22", kill_on_drop: false }`
[INFO] [stdout] 89316af675aab87a18983976af3e95fbbce54443d475779dd351ab9d94478c22
